package com.starchen.optimalselection.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starchen.optimalselection.product.model.CategoryBrandRelation;
import com.starchen.optimalselection.product.model.vo.CategoryBrandRelationVo;
import com.starchen.optimalselection.common.model.Brand;

import java.util.List;

/**
 * 品牌分类关联
 *
 * @author daxilong
 * @email daxilong@gmail.com
 * @date 2022-08-14 19:57:36
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelation> {

    List<CategoryBrandRelationVo> getRelationByBrand(Long brandId);

    List<Brand> getRelationByCategory(Long cateId);

}

